package com.leyou.item.service;

import com.leyou.item.entity.Goods;
import com.leyou.item.entity.SearchList;
import com.leyou.starter.elastic.entity.PageInfo;
import reactor.core.publisher.Mono;

import java.util.List;
import java.util.Map;


public interface SearchGoodsService {
    Mono<List<String>> getSuggestion(String key);

    Mono<PageInfo<Goods>> getList(SearchList list);

    Mono<Map> getFilter(SearchList list);
}
